Skip to content

src: zero-initialize cap_data in node_credentials.cc#64347

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
spkapust:patch-1
Jul 13, 2026
Merged

src: zero-initialize cap_data in node_credentials.cc#64347
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
spkapust:patch-1

Conversation

@spkapust

@spkapust spkapust commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Zero-initialize the cap_data array to prevent MSan warnings
about using uninitialized memory.

Signed-off-by: Sam Kapust samkapust@google.com

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. labels Jul 7, 2026
@spkapust spkapust changed the title src: zero-initialize cap_data in node_credentials.cc. src: zero-initialize cap_data in node_credentials.cc Jul 7, 2026
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.23%. Comparing base (4ee2117) to head (2ac90b1).
⚠️ Report is 51 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #64347      +/-   ##
==========================================
- Coverage   90.23%   90.23%   -0.01%     
==========================================
  Files         741      741              
  Lines      240979   241166     +187     
  Branches    45401    45424      +23     
==========================================
+ Hits       217449   217617     +168     
- Misses      15112    15122      +10     
- Partials     8418     8427       +9     
Files with missing lines Coverage Δ
src/node_credentials.cc 68.79% <100.00%> (+0.11%) ⬆️

... and 33 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hybrist

hybrist commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Can you amend the commit with the fixed message? Unfortunately changing the PR title isn't sufficient to pass the check.

zero-initialize the cap_data array to prevent
MSan warnings about using uninitialized memory

Signed-off-by: Sam Kapust <samkapust@google.com>
@hybrist hybrist added the request-ci Add this label to start a Jenkins CI on a PR. label Jul 8, 2026
@github-actions github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 8, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@hybrist hybrist added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 8, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@hybrist

hybrist commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

@spkapust Can you try rebasing on latest main? Not sure why the windows CI isn't passing for this change.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/74775/

@hybrist hybrist added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 13, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 13, 2026
@nodejs-github-bot nodejs-github-bot merged commit e7864e6 into nodejs:main Jul 13, 2026
75 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in e7864e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants